package org.gikolet.ch2.io;

import java.io.File;
import java.io.IOException;

import org.gikolet.ch2.data.Board;
import org.gikolet.ch2.data.ThreadHeader;

public interface Storage {
	File getDirectory(Board board) throws IOException;

	File getDirectoryAndCreate() throws IOException;

	File getDirectoryAndCreate(Board board) throws IOException;

	File getThreadFile(ThreadHeader threadHeader) throws IOException;

	public File getTempDirectory() throws IOException;

	File getBoardFile();
}